package cc.lj.internal.coupons.infrastructure.po;

import cc.lj.internal.core.model.BaseModel;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.tomcat.jni.Local;

import java.time.LocalDate;
import java.time.LocalDateTime;

@Data
@NoArgsConstructor
@TableName("mart_cap")
public class MartCapPO extends BaseModel{
    private Integer id;
    private LocalDate startDate;
    private LocalDate endDate;
    private String activityName;
    /**
     * 创建时间
     */
    @TableField(fill = FieldFill.INSERT) // 插入时自动填充,只对po起作用
    private LocalDateTime createTime;
}
